package com.bestdreamer.predicate;

import java.util.Arrays;
import java.util.List;

public class StudentDemo {

    private static class Student {
        String name;
        double score;

        public Student() {
        }

        public Student(String name, double score) {
            this.name = name;
            this.score = score;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public double getScore() {
            return score;
        }

        public void setScore(double score) {
            this.score = score;
        }
    }

    public static void main(String[] args) {
        List<Student> students = Arrays.asList(new Student("zhangsan", 89d), new Student("lisi", 79d), new Student("wangwu", 98d));

    }
}
